
import Vue from 'vue'
import messag from './message.vue'
let messageBox = Vue.extend(messag)
let instance;


export function Message(options) {
    instance = new messageBox({
        data: options
    });
    instance.vm = instance.$mount();
    document.body.appendChild(instance.vm.$el);
    return instance.vm;
}

